﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Web
{
    /// <summary>
    /// 登录用户信息
    /// </summary>
    public class LoginUser
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 员工ID
        /// </summary>
        public string StaffID { get; set; }
        /// <summary>
        /// 登录主体ID，师傅登录时为所属服务商ID
        /// </summary>
        public string SubjectId { get; set; }
        /// <summary>
        /// 登录主体类型
        /// </summary>
        public string SubjectType { get; set; }
        /// <summary>
        /// 登录票证
        /// </summary>
        public string Ticket { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime? LoginTime { get; set; }
        /// <summary>
        /// 登录应用ID
        /// </summary>
        public string LoginAppId { get; set; }
        /// <summary>
        /// 登录授权范围，半角逗号分隔
        /// </summary>
        public string Scopes { get; set; }
    }
}
